package com.lxf.education.controller;

import com.lxf.education.service.TeacherListService;
import com.lxf.education.utils.ResultVo;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * Created by Luoxingfa on 2022/5/22 0022 19:07
 */
@RestController
@RequestMapping("/tea")
public class WxTeacherController {
    @Resource
    private TeacherListService teacherListService;

    @RequestMapping("/list")
    public ResultVo getTeacherLit(Integer page,Integer limit){
        return teacherListService.getTeacherList(page, limit);
    }

}
